package org.jeecg.modules.kc.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.poi.hpsf.Decimal;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: kc_depository_in_goods
 * @Author: jeecg-boot
 * @Date:   2023-04-18
 * @Version: V1.0
 */
@Data
@TableName("kc_depository_in_goods")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="kc_depository_in_goods对象", description="出入库商品")
public class KcDepositoryInGoods implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**关联租户*/
	@Excel(name = "关联租户", width = 15)
    @ApiModelProperty(value = "关联租户")
    private String tenantId;
	/**关联酒店*/
	@Excel(name = "关联酒店", width = 15)
    @ApiModelProperty(value = "关联酒店")
    private String hotelId;
	/**仓库id*/
	@Excel(name = "仓库id", width = 15)
    @ApiModelProperty(value = "仓库id")
    private String depositoryId;
	/**商品id*/
	@Excel(name = "商品id", width = 15)
    @ApiModelProperty(value = "商品id")
    private String goodsId;
	/**商品id*/
	@Excel(name = "商品套餐id", width = 15)
	@ApiModelProperty(value = "商品套餐id")
	private String thaliId;
	/**套餐出入库对象id*/
	@Excel(name = "套餐出入库对象id", width = 15)
	@ApiModelProperty(value = "套餐出入库对象id")
	private String parentId;
	/**总数*/
	@Excel(name = "总数", width = 15)
    @ApiModelProperty(value = "总数")
    private Integer num;
	/**库存详情id*/
	@Excel(name = "库存详情id", width = 15)
    @ApiModelProperty(value = "库存详情id")
    private String stockDetailId;

	/**费用单id*/
	@Excel(name = "费用单id", width = 15)
	@ApiModelProperty(value = "费用单id")
	private String feeId;

	/**费用单id*/
	@Excel(name = "费用单id", width = 15)
	@ApiModelProperty(value = "费用单id")
	private String feeGoodId;

	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
	@Excel(name = "创建时间", width = 15)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

	@TableField(exist = false)
	private Decimal price;

	@TableField(exist = false)
	private String stockCode;

	@TableField(exist = false)
	private String goodsName;
	@TableField(exist = false)
	private Integer stockWarning;
	@TableField(exist = false)
	private String goodsUnitName;
	@TableField(exist = false)
	private String goodsSpec;
	@TableField(exist = false)
	private String depositoryName;
}
